# run
# python gevent_bottle-test.py
 
from gevent import monkey; monkey.patch_all()
from bottle import route, run
import time
 
@route('/')
def index():
    time.sleep(1)
    return 'hello world'
 
run(server='gevent', host='0.0.0.0', port=9090, quiet=True)
